package chenji.moreitemfunapi.plugin;

import chenji.moreitemfunapi.MifAPI;

public class PluginLoadException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4216408527384707447L;
	private String pluginName;

	PluginLoadException(String pluginname, String message) {
		super(message);
		this.pluginName = pluginname;
	}

	public void printStackTrace() {
		super.printStackTrace();
		MifAPI.getMLogger().warning("附属插件" + this.pluginName + "加载失败");
	}

	public String getPluginName() {
		return this.pluginName;
	}

}
